package java6681.nio2;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * @author: DavidChen
 * @createTime: 2021-04-20 20:57
 * @description
 **/
public class NIO2Dir6681 extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) {
        try {
            primaryStage.setScene(new Scene(FXMLLoader.load(getClass().getResource("NIO2Dir6681View.fxml"))));
            primaryStage.setTitle("NIO2与TableView显示目录内容");
            primaryStage.show();
        } catch (Exception e) {
            System.out.println("加载节点树结果失败...");
            System.exit(0);
        }
    }
}
